Conformance Relations and Test Derivation

نویسندگان

  • Alexandre Petrenko
  • Gregor von Bochmann
  • Rachida Dssouli
چکیده

It seems that finite state machines (FSM's) and (finite) labeled transition systems (LTS's) are competing descriptive models for system specifications in various areas, including communication protocols. Much work on the derivation of tests from a given system specification has been done separately for these two models. In this paper, we attempt to make a comparative study of existing approaches of test derivation for these two similar, but still distinct models, and we show that borrowing ideas from one type of model for the realm of the other might be useful. In order to formally compare the two models of FSM's and LTS's, we use a formal framework for conformance testing based on conformance relations and a set of possible observations. We show how the conformance relations can be combined with explicit fault models for the tested implementations. It is shown that, within the FSM framework, a hierarchy of conformance relations used for the comparison between the specification and the tested implementation, reflects the hierarchy of classes of models (completely specified and deterministic, deterministic, and non-deterministic). In particular, the reduction relation between non-deterministic FSM's can be used to derive other useful relations for the other classes of models. A review of test derivation methods for FSM models shows that guaranteed fault coverage within a predefined fault domain may be obtained. The second part of the paper shows that the methods for test suite derivation from FSM specifications can be applied for testing various conformance relations in respect to LTS specifications. The idea is to define, for a given LTS specification and conformance relation, a corresponding FSM specification such that the application of the FSM test suite (based on trace conformance) is equivalent to the verification of the given conformance relation in respect to the LTS specification. The feasibility of this approach is presented for the so-called failure trace equivalence between the LTS specification and the implementation. A corresponding canonical FSM tester can also be defined. Keyword Codes: C.2.2; D.2; D.2.5

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Conformance Testing Relations for Timed Systems

This paper presents a formal framework to test both the functional and temporal behaviors in systems where temporal aspects are critical. Different implementation relations, depending on both the interpretation of time and on the (non-)determinism of specifications and/or implementations, are presented and related. We also study how tests cases are defined and applied to implementations. A test...

متن کامل

Model Test Case Specification SuT Environment Test Suite Test Case Selection Test Case Derivation Test Case Execution

In the previous chapters, various formal testing theories have been discussed. The correctness of an implementation with respect to a model is denoted by a so-called conformance relation. Conformance relations are relations between mathematical abstractions of implementations and models. Based on these conformance relations, different testing strategies have been defined. In this chapter, we co...

متن کامل

A formal approach to conformance testing

In order to assure successful communication between computer systems from different manufacturers, standardized communication protocols are being developed and specified. As a next step implementations of these protocols are needed that conform to these specifications. Testing is a way to check correctness of protocol implementations with respect to their specifications. This activity is known ...

متن کامل

Testing Concurrent Systems: A Formal Approach

This paper discusses the use of formal methods in testing of concurrent systems. It is argued that formal methods and testing can be mutually profitable and useful. A framework for testing based on formal specifications is presented. This framework is elaborated for labelled transition systems, providing formal definitions of conformance, test execution and test derivation. A test derivation al...

متن کامل

Modeling basic LOTOS by FSMs for conformance testing

A challenging issue is the derivation of a nite test suite from a given LOTOS speci cation modeled by a labeled transition system (LTS) such that complete fault coverage is guaranteed for a certain class of implementations with respect to a particular conformance relation. It is shown in this paper that this problem can be solved by translating an LTS into an input/output nite state machine (FS...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993